<!doctype html>
<html  lang="zh-CN">
<head>
	<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
	<title><@spring.message "admin.system.title"/></title>




    <link rel="stylesheet" type="text/css" href="css/font-awesome.min.css" />
    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="lib/ztree/css/zTreeStyle/zTreeStyle.css" />
    <link rel="stylesheet" type="text/css" href="/public/ueditor/dialogs/image/image.css" />



    <link rel="stylesheet" type="text/css" href="css/main.css" />
    <link rel="stylesheet" type="text/css" href="css/swiss.css" />
    <link rel="stylesheet" type="text/css" href="css/jquery.validator.css" />
    <link id="theme" rel="stylesheet" type="text/css" href="css/themes/default.css" />
    <link rel="stylesheet" href="${url!}/public/datepicker/css/datepicker.css" type="text/css" />
    <link rel="stylesheet" href="${url!}/public/datepicker/css/layout.css" media="screen" type="text/css" />


    <script type="text/javascript">
     window.UEDITOR_HOME_URL = "${url}/public/ueditor/";
     window.BASE_URL = '${url}';
    </script>
   	
</head>

<body>

<!-- 头部 高55px -->
<div id="admin_top" class="layout_style_top">
    <div id="logo" class="fl layout_style_logo">
    	<a href="${url!}/admin/index.do"><img src="images/logo.png" /></a>
    </div>
    <div id="admin_nav" class="fl layout_style_nav">
        <ul class="font_shadow">
        	<#list topmenus as menu>
        		<li class="transition_background" url="childmenus.do?id=${menu.id?c}" index="${menu.url!}">${menu.name!}</li>
        	</#list>
        </ul>
    </div>
    <div id="admin_info" class="fr layout_info">
    	当前用户: ${loginusername!} &nbsp;[<a href="logout.do">注销</a>] &nbsp;<a href="${url}" target="_blank">[网站首页]</a>
        <br/>
             <div id="index_time">loading...</div>
             
   	    
    </div>
    <!--<div id="admin_face" class="pa" onclick="addStyle('css/themes/flat.css')"></div>-->
</div>

<!-- 二级导航 -->
<div id="admin_left" class="pa layout_style_left">
	<div class="admin_menu layout_nav_menu"> 
 	     
 	</div>
</div>
<div id="bread_crumb" class="pa">
	<ul class="bread_crumb_menu">
		<li><a href=""><i class="fa fa-home"></i> 主界面</a></li>
		<li class="bc_line"><i class="fa fa-chevron-right"></i></li>
		<li></li>
		<li class="bc_line hide"><i class="fa fa-chevron-right"></i></li>
		<li></li>
	</ul>
</div>
<!-- 内容区 -->
<div id="admin_right" class="pa" > 
	<div class="admin_content" onscroll="setScroll(this)">
	 
	</div> 
	<div class="loading_panel">
    </div>
</div>



</body>
<script type="text/javascript" src="${url}/public/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="lib/bootstrap/js/bootstrap.js"></script>
<!-- baidu tools -->
<script type="text/javascript" charset="utf-8" src="${url}/public/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="${url}/public/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="${url}/public/echarts/echarts-plain.js"></script>
<!-- Jquery plugins -->
<script type="text/javascript" src="js/jquery.form.js"></script>
<script type="text/javascript" src="js/jquery.validator.js"></script>
<script type="text/javascript" src="js/zh_CN.js"></script>
<!-- ztree -->
<script type="text/javascript" src="lib/ztree/js/jquery.ztree.all.min.js"></script>


<!-- mrcms core -->
<script type="text/javascript" src="js/handlebars-v1.3.0.js"></script>
<script type="text/javascript" src="js/core.js"></script>
<script type="text/javascript" src="js/showtime.js"></script>



<script type="text/javascript">
var editor = null;
//初始化菜单
$(function(){
	$('.admin_menu').load(uniqueUrl('childmenus.do?id=2'));
	$(".loading_panel").show();
	$('.admin_content').load('systeminfo.do',function(){
		$(".loading_panel").hide();	
	


		$(".font_shadow li:first-child").click();
	});
});

function addStyle(stylePath) {
    var theme = document.getElementById("theme");
    theme.href = stylePath; 
}



</script>
<script type="text/javascript">
/* 选项卡滚动固定效果 */
function setScroll(dom){
	if(dom.scrollTop >= 5){ 
		$(".tab_bar").css("position","fixed");
		$(".tab_bar").css("z-index","1000");
		$(".tab_bar").css("top","85px");
		$(".tab_bar").css("right","22px");
		$(".tab_bar").css("left",dom.getBoundingClientRect().left+5+"px");
		
	}else{
		$(".tab_bar").css("position","static");
	} 
} 

/* 选项卡内容切换 */
function setTabContent(li){
	var index = $(li).index();
	$(".tab_bar ul li").each(function(){
		$(this).removeClass("tab_index"); 
	});
	$(li).addClass("tab_index"); 
	
	var item = $(".tab_content").children(".tab_item")[index];
	
	$(".tab_content").children(".tab_item").each(function(){
				this.style.display = "none";
    }); 
	item.style.display = "block" ;  
}
</script>

<div id="upload_ue" type="text/plain" desc="UEDITOR统一传图使用" style="display: none"></div>
</html>
